﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AdminMasterPage.master" Inherits="System.Web.Mvc.ViewPage<SHDQGSWEB.Models.Product>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Delete</h2>

    <h3>Are you sure you want to delete this?</h3>
    <fieldset>
        <legend>Fields</legend>
        
        <div class="display-label">ProductId</div>
        <div class="display-field"><%= Html.Encode(Model.ProductId) %></div>
        
        <div class="display-label">Name</div>
        <div class="display-field"><%= Html.Encode(Model.Name) %></div>
        
        <div class="display-label">PhotoName</div>
        <div class="display-field"><%= Html.Encode(Model.PhotoName) %></div>
        
        <div class="display-label">Introduction</div>
        <div class="display-field"><%= Html.Encode(Model.Introduction) %></div>
        
        <div class="display-label">DisplayMode</div>
        <div class="display-field"><%= Html.Encode(Model.DisplayMode) %></div>
        
    </fieldset>
    <% using (Html.BeginForm()) { %>
        <p>
		    <input type="submit" value="Delete" /> |
		    <%= Html.ActionLink("Back to List", "Index") %>
        </p>
    <% } %>

</asp:Content>

